If an error occurs during macro execution, by default, error message is shown to user. This command prevents the message from showing.
<me_error_display> : Display a Message When an
Error Occurs
To cause the message is displayed when an error occurs use <me_error_display>
command.
<me_error_clear> : Clear Error
Errors that occur are saved in _vErr system variable. This variable can
be used to check whether a macro command failed or not. To clear this variable
use <me_error_clerar> command.
Syntax:
<me_error_nodisplay>
<me_error_display>
<me_error_clear>
Example:
<#> This macro shows how to use 'me_error_nodisplay'
<#>
<cmds>
<me_error_nodisplay>
<#> Try to get file size of non-existing file. Error
<#> occurs but default (automatic) error message is replaced by the user defined
one.
<fileinfo>("c:\notexistingfile.none","SIZE","v1")
<if_str>("_vErr != NO")
<msg>(-100,-100,"Error! This is custom error message. The automatic error
message was disabled by 'me_err_nodisplay' command.","Message",1)
<endif>